package com.lazyfragmentdemo;


import android.os.Bundle;
import android.support.v4.widget.SwipeRefreshLayout;

import com.lazyfragmentdemo.base.LazyFragment;


public class FragmentDemo extends LazyFragment {


    private String pbc_id = "";
    private SwipeRefreshLayout swipyrefreshlayout;
    public static final String INTENT_INT_INDEX = "index";


    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);

}

    @Override
    protected void onCreateViewLazy(Bundle savedInstanceState) {
        super.onCreateViewLazy(savedInstanceState);
        setContentView(R.layout.fragment_item_layout);
        initView();
    }



    private void initView() {
    }



    public static FragmentDemo newInstance(int tabIndex, boolean isLazyLoad) {

        Bundle args = new Bundle();
        args.putInt(INTENT_INT_INDEX, tabIndex);
        args.putBoolean(LazyFragment.INTENT_BOOLEAN_LAZYLOAD, isLazyLoad);
        FragmentDemo fragment = new FragmentDemo();
        fragment.setArguments(args);
        return fragment;
    }


}
